﻿/*======================================*\
* Author: Vincent
* LastModifyUser: Vincent
* Description:  
* CreateTime： 2012-05
* Remark:  
\*======================================*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppCode.Contract
{
    /// <summary>
    /// Db连接相关信息
    /// </summary>
    public interface IDbConnInfo
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        string DbName { get; set; }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        string DbConnString { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        DbType DbTypeInfo { get; set; }

    }

    public enum DbType
    {
        Sql2005,
        Sql2008
    }
}
